package com.study.demo.mapper;

import com.study.demo.dto.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {

    @Select("select * from user u where u.name=#{name}")
    public User getUserByName(String name);
}
